<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<link rel="stylesheet" type="text/css"
	href="/vraptor-blank-project/css/estilo.css" />
<link rel="stylesheet" type="text/css"
	href="/vraptor-blank-project/css/bootstrap.min.css" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Home</title>
</head>
<body>
	<nav class="navbar navbar-default navbar-fixed-top">
	<h3 class="navbar-text navbar-left">SisReserva<small>v0.1.2</small></h3>
		<c:if test="${admSessioned.islogado}">
						<p class="navbar-text navbar-right">
							Signed in as ${admSessioned.nome} <a
								href="${linkTo[admSessioned].logout}">Logout</a>
						</p>
					</c:if>
					<c:if test="${professorSessioned.islogado}">
						<p class="navbar-text navbar-right">
							Signed in as ${professorSessioned.nome } <a
								href="${linkTo[professorSessioned].logout}">Logout</a>
						</p>
					</c:if>
		</nav>
	
		
		<div class="container">
		
			<div class="page-header" id="body">
			<h2>Bem vindo ao SisReserva!<br><small>Navegue pelo sistema usando os botões abaixo</small></h2></div>
			
				<table class="table">
					<thead>
						<tr>
							<td><h4>Administrador</h4></td>
							<td><h4>Laboratório</h4></td>
							<td><h4>Professor</h4></td>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>
								<button class="btn btn-default" title="Adicionar">
								<a class="glyphicon glyphicon-plus"  href="${linkTo[AdministradorController].add}"></a></button>
								<button class="btn btn-default" title="Ver lista">
								<a class="glyphicon glyphicon-list-alt"  href="${linkTo[AdministradorController].list}"></a></button>
							</td>
							<td>
								<button class="btn btn-default">
								<a class="glyphicon glyphicon-plus" href="${linkTo[LaboratorioController].add}"></a></button>
								<button class="btn btn-default">
								<a class="glyphicon glyphicon-list-alt" href="${linkTo[LaboratorioController].list}"></a></button>
								
							</td>
							<td>
								<button class="btn btn-default" title="Adicionar">
								<a class="glyphicon glyphicon-plus"  href="${linkTo[ProfessorController].add}"></a></button>
								<button class="btn btn-default" title="Ver lista">
								<a class="glyphicon glyphicon-list-alt"  href="${linkTo[ProfessorController].list}"></a></button>
							</td>
						</tr>
					</tbody>
				</table>
				<div class="jumbotron">
					<p>FAÇA AQUI A SUA RESERVA</p>
					<p><a class="btn btn-primary btn-lg" href="${linkTo[ReservaController].add}" role="button">Reservar</a>
					<a class="btn btn-primary btn-lg " href="${linkTo[ReservaController].list}" role="button">Ver lista</a></p>
				</div>
		</div>
	


</body>
</html>